public class Demo {

    public int Year;
    public int Month;
    public int Date;

    public Demo (int y, int m, int d) {

        System.out.println(this.Year);
        System.out.println(this.Month);
        System.out.println(this.Date);
    }

    public static void main(String[] args) {

        Demo d  = new Demo(1, 2, 3);
    }
}
